package com.lzx.iteam.bean;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * **********************************
 * User: zhangshuai
 * Date: 2017年 01月 13日
 * Time: 上午10:17
 *
 * @QQ : 1234567890
 * **********************************
 */
public class SalaryBaseBean implements Serializable {

    private String _id;
    private String user_name;

    /**
     * 当 值为 -1 时 取默认值
     */
    private float pension_base;        // 养老基数      默认 2834
    private float medical_base;        // 医疗基数     默认 4252
    private float provident_fund_base; // 公积金基数   默认 1955

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public float getPension_base() {
        return pension_base == -1f? 2834f:pension_base;
    }

    public void setPension_base(float pension_base) {
        this.pension_base = pension_base;
    }

    public float getMedical_base() {
        return medical_base == -1f? 4252f:medical_base;
    }

    public void setMedical_base(float medical_base) {
        this.medical_base = medical_base;
    }

    public float getProvident_fund_base() {
        return provident_fund_base == -1f? 1955f:provident_fund_base;
    }

    public void setProvident_fund_base(float provident_fund_base) {
        this.provident_fund_base = provident_fund_base;
    }

    @Override
    public String toString() {
        return "SalaryBaseBean{" +
              "_id='" + _id + '\'' +
              ", user_name='" + user_name + '\'' +
              ", pension_base='" + pension_base + '\'' +
              ", medical_base='" + medical_base + '\'' +
              ", provident_fund_base='" + provident_fund_base + '\'' +
              '}';
    }
}
